package net.melon.cata;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class CatalogRegistry {

	public static final Map<String,Class> catalogMap = new ConcurrentHashMap<String,Class>();
	
	public static void regisiter(String key,Class entityClass){
		catalogMap.put(key, entityClass);
	}
	
	public static Class getEntityClass(String key){
		return catalogMap.get(key);
	}
}

